<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
<head>

<title>欢迎使用Surfilter</title>
<%
	if (session != null && session.getAttribute("login_user") != null) {
		response.sendRedirect(request.getContextPath() + "/desktop.jsp");
	}
%>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">

<link rel="stylesheet"
	href="<%=request.getContextPath()%>/login/resources/css/login.css"
	type="text/css" />
<script type="text/javascript" src="ext/ext-all.js"></script>
<script type="text/javascript" src="login/js/login.js"></script>
</head>
<body style="overflow: hidden;" onselectstart="return false;">
	<div class="bodybj">
		<div class="lo_box">
			<div class="title">
				<ul class="title">
					<li style="padding-top: 23px;"><img
						src="login/resources/images/line-left.png" /></li>
					<li>小区管理系统</li>
					<li style="padding-top: 23px;"><img
						src="login/resources/images/line-right.png" /></li>
				</ul>
			</div>
			<div class="clear"></div>
			<form>
				<div class="lo_boxbj">
					<div class="lo_cont">
						<div style="float: left;">
							<img src="login/resources/images/lopic.png" />
						</div>
						<div class="login">
							<div style="padding-left: 130px; padding-top: 5px;">
								<img src="login/resources/images/pics.png" />
							</div>
							<div class="tboxbj tboxbj_user">
								<input id="userName" name="userName" type="text" class="tbox"
									style="width: 190px;" />
							</div>
							<div class="tboxbj tboxbj_pwd">
								<input id="password" name="password" type="password" class="tbox"
									style="width: 190px;" />
							</div>
							<div class="tboxbj">
								<div class="tbox_yzm">
									<input id="verifyCode" name="verifyCode" type="text"
										class="tbox"
										style="width: 80px; margin-left: 56px; margin-top: 4px; padding-top: 3px;" />
								</div>
								<div class="yzmbox">
									<img id="verifyCodeImg"
										src="<%=request.getContextPath()%>/verifyCode?time=<%=Math.random()%>"
										onclick="this.src='<%=request.getContextPath()%>/verifyCode?time=<%=Math.random()%>'" />
								</div>
							</div>
							<div class="btnbox">
								<input type="button" class="sub_btn" id = "sub_btn" /> <input
									type="button" class="rest_btn" onclick="reset()"/>
							</div>
						</div>
						<div class="clear"></div>
					</div>
				</div>
			</form>
			<div align="center" style="color: #fff; margin-top: 10px;"></div>
		</div>
	</div>
</body>
</html>
